package com.guinea.system.entity;

import java.util.Date;
import java.util.HashSet;
import java.util.Set;
import com.guinea.core.orm.BaseEntity;

public class Resource implements BaseEntity {

	private Long id;
    
    private Set resRoleRels = new HashSet(0);
    
    private String resourceName;
    
    private String title;
    
    private String resourceString;
    
	private String status;

	private Long author;

	private Date created;

	private Long modificator;

	private Date updated;

	public Long getId() {
		return id;
	}

	public void setId(Long id) {
		this.id = id;
	}
	
	public String getStatus() {
		return status;
	}

	public void setStatus(String status) {
		this.status = status;
	}
	
	public Long getAuthor() {
		return author;
	}

	public void setAuthor(Long author) {
		this.author = author;
	}

	public Date getCreated() {
		return created;
	}

	public void setCreated(Date created) {
		this.created = created;
	}

	public Long getModificator() {
		return modificator;
	}

	public void setModificator(Long modificator) {
		this.modificator = modificator;
	}

	public Date getUpdated() {
		return updated;
	}

	public void setUpdated(Date updated) {
		this.updated = updated;
	}

	public String getResourceName() {
		return resourceName;
	}

	public void setResourceName(String resourceName) {
		this.resourceName = resourceName;
	}

	public String getTitle() {
		return title;
	}

	public void setTitle(String title) {
		this.title = title;
	}

	public String getResourceString() {
		return resourceString;
	}

	public void setResourceString(String resourceString) {
		this.resourceString = resourceString;
	}

	public Set getResRoleRels() {
		return resRoleRels;
	}

	public void setResRoleRels(Set resRoleRels) {
		this.resRoleRels = resRoleRels;
	}

}
